New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi Device Support #31
Conversation
[Multi Device] Added Database.
Refactor.
Added resetting
Fix prekey bundle not being sent with the device pairing request.
# Conflicts: # src/org/thoughtcrime/securesms/loki/SeedActivity.kt
|
||
fun handleDeviceLinkAuthorized() // TODO: Device link | ||
fun handleDeviceLinkingDialogDismissed() | ||
interface DeviceLinkingViewDelegate: DeviceLinkingDialogDelegate { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?????
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This setup is now really weird
…to delete prekeybundles for the user.
registerOrRestoreButton.setOnClickListener { registerOrRestore() } | ||
Analytics.shared.track("Seed Screen Viewed") | ||
} | ||
|
||
override fun onDestroy() { | ||
super.onDestroy() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
woops, this was when i was still thinking about where to put the logic, we can remove this.
toggleModeButton.setOnClickListener { toggleMode() } | ||
toggleRestoreModeButton.setOnClickListener { mode = Mode.Restore } | ||
toggleRegisterModeButton.setOnClickListener { mode = Mode.Register } | ||
toggleLinkModeButton.setOnClickListener { mode = Mode.Link } | ||
registerOrRestoreButton.setOnClickListener { registerOrRestore() } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does more than register or restore now
No description provided.